package com.android.minetopin.pojo;


public class WidthHeightPrescoPojo extends ParentPojo {
    /**
     * type 1 表示有宽;自适应高度;width有值;宽度传进去  ---后边直接写出3:4的比例
     * type 2 表示有宽;自适应高度;width有值;宽度传进去;且有传入别的View来设置高宽
     * type 3 表示有高度;自适应宽度;
     * type 4表示有宽;自适应高度;width有值;（不适合recycleview列表 (宽度是不变的)。会出现问题）
     * <p/>
     * type 5表示有宽;有原始图片的 宽 高； 这是很适合recycleview的。
     */
    public int type;
    public int width;
    public int height;

    public int OriginalWidth;
    public int OriginalHeight;

    public Object object;

    public WidthHeightPrescoPojo(int type, int width) {
        this.type = type;
        this.width = width;
    }

    public WidthHeightPrescoPojo(int type, int width, Object object) {
        this.type = type;
        this.width = width;
        this.object = object;
    }

    public WidthHeightPrescoPojo(int type, int width, int height) {
        this.type = type;
        this.height = height;
    }


    public WidthHeightPrescoPojo(int type, int width, int OriginalWidth, int OriginalHeight) {
        this.type = type;
        this.width = width;

        this.OriginalWidth = OriginalWidth;
        this.OriginalHeight = OriginalHeight;
    }

}
